package com.ywu.container.standard.data;

import com.ywu.container.standard.dto.ServiceContainerDto;
import com.ywu.container.standard.entity.ServiceContainerEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ServiceContainerRepository
 * @Description TODO
 * @Author GroundDemo
 * @Date 2024/3/5 19:17
 * @Version 1.0
 **/
@Mapper
public interface ServiceContainerRepository {
    void addContainerInfo(@Param("model") ServiceContainerEntity serviceContainerEntity);

    ServiceContainerEntity queryContainer(@Param("model") ServiceContainerEntity serviceContainerEntity);

    void updateContainerInfo(@Param("model") ServiceContainerEntity serviceContainerDto);

    void deleteContainerInfo(@Param("model") ServiceContainerEntity resEntity);

    List<ServiceContainerEntity> queryContainerList(@Param("model") ServiceContainerEntity serviceEntity);

    ServiceContainerEntity checkContainerInfo(@Param("model") ServiceContainerDto serviceContainerDto);
}
